AT+XISP=0 ; set internal ptotocol stack OK ; set asda SIM AT+CGDCONT=1,"IP","everywhere" AT+XGAUTH=1,1,"eesecure","secure" AT+XIIC=1 ; establish PPP link OK AT+XIIC? ; QUERY PPP to check online +XIIC: 1, 10.22.128.173 OK AT+XIIC? ; QUERY PPP response if not connected +XIIC: 0, 0.0.0.0 OK AT+DNSSERVER? ; query dns server +DNSSERVER:dns1:109.249.185.228;dns2:109.249.185.229 ; No "OK" code! AT+DNS="google.com" ; QUERY DNS +DNS:216.58.204.14 +DNS:OK AT+TCPSETUP=0,193.193.165.166,20157 ; example IP address AT+TCPSETUP=0,193.193.165.166,20157 ; MAKE CONNECT OK +TCPSETUP:0,FAIL ; if failed AT+CPWROFF ; when GPRS data connection drops SOCKETS: IPR STOPPED SOCKETS: IPR STOPPED OK ----------FTP----------------- at+ftplogin=86.145.89.64,21,username,password tested on module AT+FTPGET= < file> n,n 1, =ASCII 2, =Binary ,2 = info ,1 = content AT+FTPGET=,1,2 ; list directory +FTPGET:185,drwx------ 1 user group 0 Apr 01 15:17 core -rwx------ 1 user group 75452 May 21 15:46 radio.GIF -rwx------ 1 user group 108401 May 21 15:50 winscp.GIF +FTPGET:OK.total length is 185 ; possible: +FTPGET:Error 4 +FTP:Error 426 Connection timed out, aborting transfer time is over 30s), it will response +FTPLOGIN: Error TimeOut. ; AT+FTPGET=test.txt,1,2 ; Get info ’test.txt’ +FTPGET:62,-rwx------ 1 user group 22 Apr 01 17:02 test.txt +FTPGET:OK.total length is 62 ; AT+FTPGET=test.txt,1,1 ; Get file ’test.txt’ +FTPGET:22,qwertyuiop 1234567890 +FTPGET:OK.total length is 22 ; AT+FTPPUT ,n,n,len ,1, =ASCII ,2, =Binary ,1 = store ,2 = append ,3 = delete at+ftpput=test.txt,1,2,123 > 10240 max size +FTPPUT:OK,1024 at+FTPPUT=3855_0000.jpeg,2,1,000100 at+ftpstatus +FTPSTATUS:login,86.147.124.200,21 AT+FTPLOGOUT OK